import axios from '../index';


async function getProjectStatus() {
    const response=await axios.get("project/item/status/list");
    return response;
}

async function getclassification(mainParent,childParent,level){
    console.log(level);
if(level===3){
    const res=await axios.post("system/classification/list",{parents:[mainParent,childParent]});
    return res;
}else{
   const res=await axios.post("system/classification/list",{parents:[mainParent]});
   return res;
}
}

export {getProjectStatus,getclassification}